﻿

@using LeadThing.AbpZeroTemplate.Localization

<div ng-controller="common.views.caseCategorys.index as vm">
    <div class="row margin-bottom-5">
        <div class="col-xs-6">
            <div class="page-head">
                <div class="page-title">
                    <h1>
                        <span>@L("CaseCategory")</span> <small>@L("CaseCategoryHeaderInfo")</small>
                    </h1>
                </div>
            </div>
        </div>
        <div class="col-xs-6 text-right">
            <button class="btn blue" ng-click="vm.getPagedcaseCategorys()"><i class="fa fa-refresh"></i> @L("Refresh")</button>

            <button class="btn btn-default " ng-click="vm.exportToExcel()"><i class="fa fa-plus"></i>@L("ExportToExcel")</button>
            @*//判断是否拥有创建矛盾纠纷案例的权限*@
            <button ng-if="vm.permissions.create" class="btn btn-primary blue" ng-click="vm.caseCategoryTree.openCreateOrEditUnitModal(null)"><i class="fa fa-plus"></i> @L("CreateCaseCategory")</button>
        </div>
    </div>
    <div class="portlet light margin-bottom-0">
        <div class="portlet-body">
            <div class="form">
                <form class="horizontal-form">
                    <div class="form-body" enter-key="vm.getPagedcaseCategorys()">
                        <div class="row margin-bottom-10">
                            <div class="col-md-12">

                            </div>
                        </div>                  
                    </div>
                </form>
            </div>
            <div busy-if="vm.loading">
                <div id="caseCategoryTree"></div>
            </div>
        </div>
    </div>
</div>

  







 